<include file="Public:pagerForm" />

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<table>
          <tr>
           <td>全文关键字查询：</td>
           <td><input type="text" name="selectname" value=""/></td>
          </tr>
         </table> 
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="navTab" mask="true"><span>新增笔记</span></a></li>
			<li><a class="delete" href="__URL__/foreverdelete/id/{sid_user}/navTabId/__MODULE__" target="ajaxTodo" title="你确定要删除该笔记吗？" warn="请选择要删除的笔记"><span>删除笔记</span></a></li>
			<li><a class="edit" href="__URL__/edit/id/{sid_user}" target="navTab" mask="true" warn="请选择笔记"><span>修改笔记</span></a></li>
            <li><a class="edit" href="__URL__/checkNote/id/{sid_user}" target="navTab" mask="true" warn="请选择笔记"><span>审核笔记</span></a></li>
			</ul>
	</div>

	<div layoutH="116" id="w_list_print">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
		<thead>
		<tr>
			<th>编号</th>
			<th orderField="visitor" <if condition="$_REQUEST._order eq 'visitor'">class="{$_REQUEST._sort}"</if>>客户单位</th>
			<th orderField="notetime" <if condition="$_REQUEST._order eq 'notetime'">class="{$_REQUEST._sort}"</if>>访问日期</th>   
            <th orderField="bisuser_id" <if condition="$_REQUEST._order eq 'bisuser_id'">class="{$_REQUEST._sort}"</if>>业务员</th>
            <th orderField="checkuser_id" <if condition="$_REQUEST._order eq 'checkuser_id'">class="{$_REQUEST._sort}"</if>>审核者</th>
            <th orderField="checktime" <if condition="$_REQUEST._order eq 'checktime'">class="{$_REQUEST._sort}"</if>>审核时间</th>
            <th>审核状态</th>
            <th orderField="updatetime" <if condition="$_REQUEST._order eq 'updatetime'">class="{$_REQUEST._sort}"</if>>修改时间</th>
  	       
		</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="sid_user" rel="{$vo['id']}">
				<td align=center>{$vo['id']}</td>
				<td><a href="__URL__/viewNote/id/{$vo['id']}" class="viewNote" title="{$vo['visitor']}" target="dialog" mask="true" width="600" height="500">{$vo['visitor']}</a></td>
				<td>{$vo['notetime']|date="Y-m-d",###}</td>   
                <td>{$vo['bisuser_id']|getTableColVal=User,nickname}</td>
                <td align=right>{$vo['checkuser_id']|getTableColVal=User,nickname}</td>
                <td align=center><neq name="vo['checktime']" value="">{$vo['checktime']|date="Y-m-d H:i:s",###}</neq></td>
                <td align=center>{$vo['status']|getNotestatus}</td>
                <td align=center>{$vo['updatetime']|date="Y-m-d H:i:s",###}</td>              
			</tr>
		</volist>
		</tbody>
	</table>
    </div>
	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>

</div>


